package com.landiao.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.landiao.entities.Holiday;

public interface HolidayMapper extends BaseMapper<Holiday,String>{
    int deleteByPrimaryKey(String holidayId);

    int insert(Holiday record);

    int insertSelective(Holiday record);

    Holiday selectByPrimaryKey(String holidayId);

    int updateByPrimaryKeySelective(Holiday record);

    int updateByPrimaryKey(Holiday record);

	List<Holiday> getHolidayListByEmployeeId(@Param("employeeId")String employeeId,@Param("restDate")Date restDate);
}